<div id="custom-snippets-panel" class="custom-snippets-panel bottom-panel vert-resizable top-resizer no-focus">
    <div id="custom-snippets-toolbar" class="toolbar simple-toolbar-layout">
        <div class="title-wrapper">
            <span class="title toolbar-title">{{Strings.CUSTOM_SNIPPETS_PANEL_TITLE}} <span id="snippets-count" class="snippets-count"></span></span>
            <div id="add-new-snippet-btn" class="custom-snippet-btn">
                <button title="{{Strings.CUSTOM_SNIPPETS_ADD_NEW_TITLE}}">
                    <i class="fas fa-plus"></i>
                </button>
            </div>
            <div id="back-to-list-menu-btn" class="custom-snippet-btn hidden">
                <button title="{{Strings.CUSTOM_SNIPPETS_BACK_TO_LIST_TITLE}}">
                    <i class="back-btn-left-icon fas fa-chevron-left"></i>
                    <span class="back-btn-text">{{Strings.CUSTOM_SNIPPETS_BACK}}</span>
                </button>
            </div>
        </div>
        <div class="buttons">
            <div id="filter-snippets-panel" class="filter-snippets-panel">
                <input id="filter-snippets-input" type="text" placeholder="{{Strings.CUSTOM_SNIPPETS_FILTER_PLACEHOLDER}}" autocomplete="off" />
            </div>
            <a href="#" class="close" id="close-custom-snippets-panel-btn">&times;</a>
        </div>
    </div>

    <div class="resizable-content">
        <!--this will display the list of all the already existing snippets-->
        <div id="custom-snippets-list" class="custom-snippes-list">
            <div id="no-snippets-wrapper" class="no-snippets-wrapper">
                <div id="no-snippets-message">{{Strings.CUSTOM_SNIPPETS_NO_SNIPPETS_MESSAGE}}</div>
                <div id="add-snippet-btn">
                    <button>{{Strings.CUSTOM_SNIPPETS_ADD_SNIPPET_BTN}}</button>
                </div>
            </div>

            <div id="snippets-list-header" class="snippets-list-header">
                <div id="snippet-abbr-header">{{Strings.CUSTOM_SNIPPETS_HEADER_ABBREVIATION}}</div>
                <div id="snippet-template-header">{{Strings.CUSTOM_SNIPPETS_HEADER_TEMPLATE}}</div>
                <div id="snippet-description-header">{{Strings.CUSTOM_SNIPPETS_HEADER_DESCRIPTION}}</div>
                <div id="snippet-file-extension-header">{{Strings.CUSTOM_SNIPPETS_HEADER_FILE_EXTENSION}}</div>
                <div id="snippet-actions-header"></div>
            </div>

            <div id="snippets-list-wrapper" class="snippets-list-wrapper hidden">
                <!--leaving here for format reference-->
                <!--
                <div id="snippet-item">
                    <div id="snippet-abbr">
                        clg
                    </div>
                    <div id="snippet-template">
                        console.log()
                    </div>
                    <div id="snippet-description">
                        console log shortcut
                    </div>
                    <div id="snippet-files">
                        all
                    </div>
                    <div id="delete-snippet-btn" class="delete-snippet-btn">
                        <i class="fas fa-trash"></i>
                    </div>
                </div>
                -->
            </div>
        </div>

        <!--this view will open up when user clicks on add a new snippet button-->
        <div id="custom-snippets-add-new" class="custom-snippets-add-new hidden">
            <div id="abbr-box-wrapper" class="field-wrapper">
                <div class="field-row">
                    <label for="abbr-box"
                           title="{{Strings.CUSTOM_SNIPPETS_ABBR_INPUT_TOOLTIP}}"
                           data-placement="top">
                        {{Strings.CUSTOM_SNIPPETS_ABBREVIATION_LABEL}}
                    </label>
                    <input id="abbr-box" type="text" placeholder="clg" autocomplete="off" />
                </div>
            </div>

            <div id="desc-box-wrapper" class="field-wrapper">
                <div class="field-row">
                    <label for="desc-box"
                           title="{{Strings.CUSTOM_SNIPPETS_DESC_INPUT_TOOLTIP}}"
                           data-placement="top">
                        {{Strings.CUSTOM_SNIPPETS_DESCRIPTION_LABEL}}
                    </label>
                    <input id="desc-box" type="text" placeholder="{{Strings.CUSTOM_SNIPPETS_DESC_PLACEHOLDER}}" autocomplete="off" />
                </div>
            </div>

            <div id="file-extn-box-wrapper" class="field-wrapper">
                <div class="field-row">
                    <label for="file-extn-box"
                           title="{{Strings.CUSTOM_SNIPPETS_FILE_EXT_INPUT_TOOLTIP}}"
                           data-placement="top">
                        {{Strings.CUSTOM_SNIPPETS_FILE_EXTENSION_LABEL}}
                    </label>
                    <input id="file-extn-box" type="text" placeholder="{{Strings.CUSTOM_SNIPPETS_FILE_EXT_PLACEHOLDER}}" autocomplete="off" />
                </div>
            </div>

            <div id="template-text-box-wrapper" class="field-wrapper">
                <div class="field-row">
                    <label for="template-text-box"
                           title="{{Strings.CUSTOM_SNIPPETS_TEMPLATE_INPUT_TOOLTIP}}"
                           data-placement="top">
                        {{Strings.CUSTOM_SNIPPETS_TEMPLATE_TEXT_LABEL}}
                    </label>
                    <textarea id="template-text-box" placeholder="{{Strings.CUSTOM_SNIPPETS_TEMPLATE_PLACEHOLDER}}" autocomplete="off"></textarea>
                </div>
            </div>

            <div id="add-custom-snippet-panel-buttons">
                <button id="cancel-custom-snippet-btn" class="dialog-button btn">{{Strings.CUSTOM_SNIPPETS_CANCEL}}</button>
                <button id="save-custom-snippet-btn" class="dialog-button btn primary" disabled>{{Strings.CUSTOM_SNIPPETS_SAVE}}</button>
            </div>
        </div>

        <!--this view will open up when user clicks on a snippet item to edit it-->
        <div id="custom-snippets-edit" class="custom-snippets-edit hidden">
            <div id="edit-abbr-box-wrapper" class="field-wrapper">
                <div class="field-row">
                    <label for="edit-abbr-box"
                           title="{{Strings.CUSTOM_SNIPPETS_ABBR_INPUT_TOOLTIP}}"
                           data-placement="top">
                        {{Strings.CUSTOM_SNIPPETS_ABBREVIATION_LABEL}}
                    </label>
                    <input id="edit-abbr-box" type="text" placeholder="clg" autocomplete="off" />
                </div>
            </div>

            <div id="edit-desc-box-wrapper" class="field-wrapper">
                <div class="field-row">
                    <label for="edit-desc-box"
                           title="{{Strings.CUSTOM_SNIPPETS_DESC_INPUT_TOOLTIP}}"
                           data-placement="top">
                        {{Strings.CUSTOM_SNIPPETS_DESCRIPTION_LABEL}}
                    </label>
                    <input id="edit-desc-box" type="text" placeholder="{{Strings.CUSTOM_SNIPPETS_DESC_PLACEHOLDER}}" autocomplete="off" />
                </div>
            </div>

            <div id="edit-file-extn-box-wrapper" class="field-wrapper">
                <div class="field-row">
                    <label for="edit-file-extn-box"
                           title="{{Strings.CUSTOM_SNIPPETS_FILE_EXT_INPUT_TOOLTIP}}"
                           data-placement="top">
                        {{Strings.CUSTOM_SNIPPETS_FILE_EXTENSION_LABEL}}
                    </label>
                    <input id="edit-file-extn-box" type="text" placeholder="{{Strings.CUSTOM_SNIPPETS_FILE_EXT_PLACEHOLDER}}" autocomplete="off" />
                </div>
            </div>

            <div id="edit-template-text-box-wrapper" class="field-wrapper">
                <div class="field-row">
                    <label for="edit-template-text-box"
                           title="{{Strings.CUSTOM_SNIPPETS_TEMPLATE_INPUT_TOOLTIP}}"
                           data-placement="top">
                        {{Strings.CUSTOM_SNIPPETS_TEMPLATE_TEXT_LABEL}}
                    </label>
                    <textarea id="edit-template-text-box" placeholder="{{Strings.CUSTOM_SNIPPETS_TEMPLATE_PLACEHOLDER}}" autocomplete="off" />
                </div>
            </div>

            <div id="edit-snippet-buttons">
                <button id="cancel-edit-snippet-btn" class="dialog-button btn">{{Strings.CUSTOM_SNIPPETS_CANCEL}}</button>
                <button id="save-edit-snippet-btn" class="dialog-button btn primary" disabled>{{Strings.CUSTOM_SNIPPETS_SAVE}}</button>
            </div>
        </div>
    </div>
</div>
